﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CimeaSoft.BE;
using CimeaSoft.Repository;
using Microsoft.Practices.Unity;

namespace CimeaSoft.BL
{
    public class AbiBL:IAbiBL
    {
        [Dependency]
        public IAbiRepository abiDAO { get; set; }

        public List<Abi> GetAllFromAbi()
        {
            return abiDAO.GetAllFromAbi();
        }


        public List<Abi> GetAllFromAbiByCriterio(string criterio)
        {
            return abiDAO.GetAllFromAbiByCriterio(criterio);
        }
    }
}
